/**
 * Copyright (c) 2009-2011, chunquedong(YangJiandong)
 * 
 * This file is part of ChunMap project
 * Licensed under the GNU LESSER GENERAL PUBLIC LICENSE(Version >=3)
 * 
 * History:
 *     2010-05-05  Jed Young  Creation
 */
package chunmap.example.service;

import chunmap.example.BaseMap;
import chunmap.raster.wms.WmsLayer;
import chunmap.view.layer.Layer;
import chunmap.app.MapCtrl;

/**
 * @author yangjiandong
 *
 */
public class WmsLayerTest  extends BaseMap {
	public static void main(String[] args) {
		WmsLayerTest me = new WmsLayerTest();
		me.init();
	}

	@Override
	protected void addLayer(MapCtrl map) {
		String testRrl="http://localhost:8080/chunmapService/test?";
		Layer layer=new WmsLayer(testRrl);
		
		map.getLayerCollection().add(layer);
	}
}